import 'src/hrpub/common/static/fonts/iconfont.css'
import React from 'react';

import {start, connect} from 'src/hrpub/common/store/index';


import HomePage from '../container';
import {handleHash} from 'src/hrpub/common/utils/utils';
import model from '../models/model';
import {COMMON} from "../unit/util";

let c = COMMON.appConfig.appcode;
let p = COMMON.appConfig.pagecode;
const HomePageWithData = connect(handleHash('2019', `c=${c}&p=${p}`)(HomePage));


start({
    root: document.getElementById('app'),
    component: <HomePageWithData/>,
    model: model
});
